package net.vonkannen.callduration;

import com.google.ads.AdRequest;
import com.google.ads.AdSize;
import com.google.ads.AdView;

import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;

public class Lay_Info extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.info);
        
        /* Get LinearLayout */
        LinearLayout layout = (LinearLayout)findViewById(R.id.lay_info);
        
        /* Create ads */
        AdView adView = new AdView(this, AdSize.BANNER, "a14dbc9a647203e");
        adView.loadAd(new AdRequest());
        layout.addView(adView);
    }
    
    @Override
    public void onPause() {
    	super.onPause();
    	this.finish();
    }
}
